//  window.g = {
//    BaseURL: 'http://192.168.4.36:9002',
//    BaseURL1: 'http://192.168.4.36:9002',
//    BaseURL2: 'http://192.168.4.36:9002',
//    BaseURL3: 'http://192.168.4.36:9002',
//    ossBaseURL: 'http://gsa-test-2022.oss-cn-hangzhou.aliyuncs.com',
//    // BaseURL: 'http://192.168.4.31:28800/',
//    //
//    VrUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/', //图集vr地址
//    //图集服务查看图片预览地址
//    // BaseURL4: 'http://117.107.138.121:9019/j-dataexchangeserver/1',
//    BaseURL4: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/file',
//    BaseURL5: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/j-dataexchangeserver/',
//    //一张图
//    oneMapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/?id=ZJSPMap',
//    oneMapUrlLocation: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/PlottingMapMobile',
//    onMap:
//      'http://10.249.3.33:9506/#/PlottingMap?jieduan=takan&data=%5B%7B%22JDID%22%3A%22%7B5906655F-3F0C-46F8-B38F-CDD743E37583%7D%22,%22SQBH%22%3A%229fc38b38-cc92-47aa-b04a-36184f119eeb%22,%22FWBH%22%3A%22ZNF44130000000020220006%22,%22APPLICANT%22%3A%2211%22,%22ADDESS%22%3Anull%7D%5D&type=edit',
//    MapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/PlottingMap',
//  }
//   // BaseURL4: 'http://117.107.138.121:9019/j-dataexchangeserv er/',
//   BaseURL4: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/file',
//   BaseURL5: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/j-dataexchangeserver/',
//   //一张图
//   oneMapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/?id=ZJSPMap',
//   oneMapUrlLocation: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/PlottingMapMobile',
//   onMap: 'http://10.249.3.33:9506/#/PlottingMap?jieduan=takan&data=%5B%7B%22JDID%22%3A%22%7B5906655F-3F0C-46F8-B38F-CDD743E37583%7D%22,%22SQBH%22%3A%229fc38b38-cc92-47aa-b04a-36184f119eeb%22,%22FWBH%22%3A%22ZNF44130000000020220006%22,%22APPLICANT%22%3A%2211%22,%22ADDESS%22%3Anull%7D%5D&type=edit',
//   MapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/PlottingMap',
//   locateMapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/webserver/farmhousesurveymap/index.html',
//   VrUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/', //图集vr地址
//   //图集服务查看图片预览地址
//   // BaseURL4: 'http://117.107.138.121:9019/j-dataexchangeserver/1',
//   BaseURL4: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/file',
//   BaseURL5: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/j-dataexchangeserver/',
//   //一张图
//   oneMapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/?id=ZJSPMap',
//   oneMapUrlLocation: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/PlottingMapMobile',
//   onMap:
//     'http://10.249.3.33:9506/#/PlottingMap?jieduan=takan&data=%5B%7B%22JDID%22%3A%22%7B5906655F-3F0C-46F8-B38F-CDD743E37583%7D%22,%22SQBH%22%3A%229fc38b38-cc92-47aa-b04a-36184f119eeb%22,%22FWBH%22%3A%22ZNF44130000000020220006%22,%22APPLICANT%22%3A%2211%22,%22ADDESS%22%3Anull%7D%5D&type=edit',
//   MapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/tyzcpt/#/PlottingMap',
// }

window.g = {
  BaseURL1: 'http://192.168.4.36:9002/', //'http://192.168.4.36:9002/',
  //公司用这个
  BaseURL: 'http://192.168.4.36:9002/',
  BaseUrlMap: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/',
  BaseURL2: 'http://192.168.4.36:9002/', //'http://192.168.4.36:9002/',
  BaseURL3: 'http://192.168.4.36:9002/', //'http://192.168.4.36:9002/',
  //
  locateMapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/webserver/farmhousesurveymap/index.html',
  VrUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/', //图集vr地址
  //图集服务查看图片预览地址
  // BaseURL4: 'http://117.107.138.121:9019/j-dataexchangeserver/',
  BaseURL4: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/file/',
  //OSS预览两种方式 1 、使用路径预览  0，通过文件id预览(暂时不稳定)
  IsEnabled: '2',
  //OSS预览地址(通过路径预览)
  OSSPriview: 'https://nfzjszlb.jst.zj.gov.cn/file/oss/',
  BaseURL5: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/j-dataexchangeserver/',
  //一张图
  oneMapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/#/?id=ZJSPMap',
  oneMapUrlLocation: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/#/PlottingMapMobile',
  onMap:
    'http://10.249.3.33:9506/#/PlottingMap?jieduan=takan&data=%5B%7B%22JDID%22%3A%22%7B5906655F-3F0C-46F8-B38F-CDD743E37583%7D%22,%22SQBH%22%3A%229fc38b38-cc92-47aa-b04a-36184f119eeb%22,%22FWBH%22%3A%22ZNF44130000000020220006%22,%22APPLICANT%22%3A%2211%22,%22ADDESS%22%3Anull%7D%5D&type=edit',
  MapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/#/PlottingMap',
  // 用于判断防汛防台风险发布是否调用信息发送接口
  SendMessage: false
}
//
// window.g = {
//  BaseURL1: 'http://192.168.4.36:9002',
//  //公司用这个
//  BaseURL: 'http://192.168.4.36:9002',
//  // BaseURL: 'http://192.168.4.31:28800/',
//  BaseURL2: 'http://192.168.4.36:9002',
//  BaseURL3: 'http://192.168.4.36:9002',
//  //
//  VrUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/', //图集vr地址
//  //图集服务查看图片预览地址
//  // BaseURL4: 'http://117.107.138.121:9019/j-dataexchangeserver/1',
//  BaseURL4: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/file',
//  BaseURL5: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/j-dataexchangeserver/',
//  //一张图
//  oneMapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/#/?id=ZJSPMap',
//  oneMapUrlLocation: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/#/PlottingMapMobile',
//  onMap:
//    'http://10.249.3.33:9506/#/PlottingMap?jieduan=takan&data=%5B%7B%22JDID%22%3A%22%7B5906655F-3F0C-46F8-B38F-CDD743E37583%7D%22,%22SQBH%22%3A%229fc38b38-cc92-47aa-b04a-36184f119eeb%22,%22FWBH%22%3A%22ZNF44130000000020220006%22,%22APPLICANT%22%3A%2211%22,%22ADDESS%22%3Anull%7D%5D&type=edit',
//  MapUrl: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/#/PlottingMap',
//}

// 地图相关配置
window.g.MapConfiguration = {
  ArcGIS_API_URL: 'https://js.arcgis.com/4.18/',
  // ArcGIS_API_URL: "http://192.168.4.31/4.18/",
  // 本地字体库地址
  ArcGIS_Fonts_Path: '/static/fonts',
  // 缩放层级控制
  XZQH_ScaleLimit: {
    村级: 14000,
    乡镇: 40000,
    区县: 300000,
    市级: 1200000,
    省级: 2400000
  },
  lifeCircleLayers: {
    农房审批: [
      {
        basename: '完成审批',
        url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/建房审批定位图层',
        legend: true,
        minScale: 240000, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [119.5909243539671, 30.256315030073285], //图层定位-中心点
        positioningZoom: 15, //图层定位-地图缩放等级
        isSmallData: false,
        checkReduction: true,
        layerType: 'MapImage'
      }
    ],
    农房建设: [
      {
        basename: '建房审批通过申请',
        url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/四到场',
        legend: true,
        minScale: 240000, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [119.171056, 29.00281], //图层定位-中心点
        positioningZoom: 15, //图层定位-地图缩放等级
        isSmallData: false,
        checkReduction: true,
        layerType: 'MapImage'
      }
    ],
    存量农房: [
      {
        basename: '存量房屋面',
        url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/tileMap/zjs_zjfcjb',
        urlQuery: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/zjf',
        legend: true,
        minScale: 240000, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [119.378, 30.221], //图层定位-中心点
        positioningZoom: 12, //图层定位-地图缩放等级
        layerType: 'VectorTile'
      }
    ],
    农房安全: [
      {
        basename: '生产经营点',
        url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/生产经营点',
        legend: true,
        minScale: 240000, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [120.077, 30.557], //图层定位-中心点
        positioningZoom: 12, //图层定位-地图缩放等级
        checkReduction: true,
        layerType: 'Tile'
      }
    ],
    危房改造: [
      {
        basename: '危房改造整治进度',
        url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/危房改造整治进度',
        legend: true,
        minScale: 240000, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [119.92793, 29.457], //图层定位-中心点
        positioningZoom: 12, //图层定位-地图缩放等级
        initFliter: ['整治中', '未整治'],
        layerType: 'MapImage'
      }
    ],
    生产经营: [
      {
        basename: '安全管理生产经营_点',
        url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/生产经营点',
        legend: true,
        minScale: 240000, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [118.967, 27.52], //图层定位-中心点
        positioningZoom: 12, //图层定位-地图缩放等级
        layerType: 'Tile'
      },
      {
        basename: '安全管理生产经营_面',
        url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/生产经营面',
        legend: true,
        minScale: 240000, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [119.428, 30.308], //图层定位-中心点
        positioningZoom: 12, //图层定位-地图缩放等级
        layerType: 'Tile'
      }
    ],
    视频监控: [
      {
        basename: '监控视频',
        url: window.g.BaseUrlMap + '/api/gisrest/arcgis/featurelayer/监控视频',
        legend: true,
        minScale: 0, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [119.378, 30.221], //图层定位-中心点
        positioningZoom: 12, //图层定位-地图缩放等级
        checkReduction: true,
        layerType: 'Feature'
      }
    ],
    传感器监测: [
      {
        basename: '传感器监测',
        url: window.g.BaseUrlMap + '/api/gisrest/arcgis/mapimagelayer/传感设备',
        legend: true,
        minScale: 0, //小于此比例尺后地图可见，此值须大于maxScale；设为0则不受限制
        maxScale: 0, // 大于此比例尺后地图可见，此值须小于minScale；设为0则不受限制
        positioningXY: [119.378, 30.221], //图层定位-中心点
        positioningZoom: 12, //图层定位-地图缩放等级
        checkReduction: true,
        layerType: 'Feature'
      }
    ]
  },
  //初始范围
  InitExtent: {
    xmax: 120.1985489389347,
    xmin: 120.13712009531514,
    ymax: 30.29608680941505,
    ymin: 30.25334810942291,
    spatialReference: {
      wkid: 4490
    },
    zoom: 15
  },
  BaseMaps: [
    //影像图
    {
      title: '惠州市遥感影像',
      class: '影像地图',
      type: 'web-tile',
      applyCustomTile: 'TileInfoTMap',
      minScale: 1200,
      order: 1,
      urlTemplate:
        'https://yztbh.jst.zj.gov.cn:9520/imgmap?token=d4cd38ad-69ab-4726-84bf-451c1c9a1146' +
        '&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=esritilematirx&TILEMATRIX={level}&TILEROW={row}&TILECOL={col}&FORMAT=image%2Fjpgpng'
    },
    {
      title: '惠州市遥感影像：注记',
      class: '影像地图',
      type: 'web-tile',
      applyCustomTile: 'TileInfoTMap',
      minScale: 1200,
      order: 0,
      urlTemplate:
        'https://yztbh.jst.zj.gov.cn:9520/img_lab?token=d4cd38ad-69ab-4726-84bf-451c1c9a1146' +
        '&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=esritilematirx&TILEMATRIX={level}&TILEROW={row}&TILECOL={col}&FORMAT=image%2Fjpgpng'
    },
    {
      title: '惠州市电子地图：注记',
      class: '电子地图',
      type: 'web-tile',
      applyCustomTile: 'TileInfoTMap',
      minScale: 1200,
      order: 2,
      urlTemplate:
        'https://yztbh.jst.zj.gov.cn:9520/emap_lab?token=d4cd38ad-69ab-4726-84bf-451c1c9a1146' +
        '&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=esritilematirx&TILEMATRIX={level}&TILEROW={row}&TILECOL={col}&FORMAT=image%2Fjpgpng'
    },
    {
      title: '惠州市电子地图',
      class: '电子地图',
      type: 'web-tile',
      applyCustomTile: 'TileInfoTMap',
      minScale: 1200,
      order: 3,
      urlTemplate:
        'https://yztbh.jst.zj.gov.cn:9520/emap?token=d4cd38ad-69ab-4726-84bf-451c1c9a1146' +
        '&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=esritilematirx&TILEMATRIX={level}&TILEROW={row}&TILECOL={col}&FORMAT=image%2Fjpgpng'
    }
  ],
  // 自定义切片
  TileInfoOptions: {
    rows: 256,
    cols: 256,
    compressionQuality: 0,
    origin: {
      x: -180,
      y: 90
    },
    spatialReference: {
      wkid: 4490
    },
    lods: [
      {
        level: 0,
        resolution: 1.40625002621094,
        scale: 590995197.148203
      },
      {
        level: 1,
        resolution: 0.703125013105469,
        scale: 295497598.574101
      },
      {
        level: 2,
        resolution: 0.351562506552734,
        scale: 147748799.287051
      },
      {
        level: 3,
        resolution: 0.175781253276367,
        scale: 73874399.6435253
      },
      {
        level: 4,
        resolution: 0.0878906266381836,
        scale: 36937199.8217627
      },
      {
        level: 5,
        resolution: 0.0439453133190918,
        scale: 18468599.9108813
      },
      {
        level: 6,
        resolution: 0.0219726566595459,
        scale: 9234299.95544067
      },
      {
        level: 7,
        resolution: 0.0109863283297729,
        scale: 4617149.97772033
      },
      {
        level: 8,
        resolution: 0.00549316416488647,
        scale: 2308574.98886017
      },
      {
        level: 9,
        resolution: 0.00274658208244324,
        scale: 1154287.49443008
      },
      {
        level: 10,
        resolution: 0.00137329104122162,
        scale: 577143.747215042
      },
      {
        level: 11,
        resolution: 0.000686645520610809,
        scale: 288571.873607521
      },
      {
        level: 12,
        resolution: 0.000343322760305405,
        scale: 144285.93680376
      },
      {
        level: 13,
        resolution: 0.000171661380152702,
        scale: 72142.9684018802
      },
      {
        level: 14,
        resolution: 8.58306900763512e-5,
        scale: 36071.4842009401
      },
      {
        level: 15,
        resolution: 4.29153450381756e-5,
        scale: 18035.7421004701
      },
      {
        level: 16,
        resolution: 2.14576725190878e-5,
        scale: 9017.87105023503
      },
      {
        level: 17,
        resolution: 1.07288362595439e-5,
        scale: 4508.93552511751
      },
      {
        level: 18,
        resolution: 5.36441812977195e-6,
        scale: 2254.46776255876
      },
      {
        level: 19,
        resolution: 2.68220906488597e-6,
        scale: 1127.23388127938
      },
      {
        level: 20,
        resolution: 1.34110453244299e-6,
        scale: 563.616940639689
      }
    ]
  },
  // 属性隐藏
  HiddenFields: ['POLYLINE', 'POINT', 'POLYGON', 'SHAPE', 'SHAPE.LEN', 'SHAPE_LENG', 'SHAPE.AREA', 'SHAPE_AREA'],
  //弹框显示字段
  PopupShowAttr: { XMMC: '项目名称', ZDBS: '宗地标识', GDBS: '供地标识', DKMJ: '地块面积', HYFL: 'HYFL' },
  // 地理处理工具
  GeometryServiceURL: window.g.ArcGIS_Server_URL + '/arcgis/rest/services/Utilities/Geometry/GeometryServer',
  // 要素高亮统一样式
  HighlightSymbol: {
    point: {
      type: 'simple-marker',
      style: 'circle',
      color: '#00ffff',
      size: 10,
      outline: {
        color: [255, 255, 255],
        width: 1
      }
    },
    polyline: {
      type: 'simple-line',
      style: 'solid',
      color: '#00ffff',
      width: 3
    },
    polygon: {
      type: 'simple-fill',
      style: 'solid',
      color: '#00ffff',
      outline: {
        color: 'white',
        width: 1
      }
    }
  },
  DrawSymbol: {
    pointSymbol: {
      type: 'simple-marker',
      color: [216, 30, 6, 0.2],
      style: 'circle',
      size: '12px',
      outline: {
        color: [216, 30, 6, 1],
        width: 2
      }
    },
    polylineSymbol: {
      type: 'simple-line',
      color: [216, 30, 6, 1],
      width: 2,
      cap: 'round',
      join: 'round'
    },
    polygonSymbol: {
      type: 'simple-fill',
      color: [216, 30, 6, 0.2],
      style: 'solid',
      outline: {
        color: [216, 30, 6, 1],
        width: 2
      }
    }
  }
}
//安全查询-地图部分配置
window.g.SecurityCheck = {
  layer: {
    title: '四到场',
    url: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/api/gisrest/arcgis/mapimagelayer/aqhc'
  }
  // APPKEY: "6738c85b-69e8-11ec-a673-6805cab640a0",//用在了地图服务的拦截器
  // APPSECRET: "801ba32b6f9811ed9a386805cab597a8",
  // layers: [{
  //   title: "杭州市",
  //   citycode: "3301",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3301",
  // },
  // {
  //   title: "宁波市",
  //   citycode: "3302",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3302",
  // },
  // {
  //   title: "温州市",
  //   citycode: "3303",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3303",
  // },
  // {
  //   title: "嘉兴市",
  //   citycode: "3304",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3304",
  // },
  // {
  //   title: "湖州市",
  //   citycode: "3305",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3305",
  // },
  // {
  //   title: "绍兴市",
  //   citycode: "3306",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3306",
  // },
  // {
  //   title: "金华市",
  //   citycode: "3307",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3307",
  // },
  // {
  //   title: "衢州市",
  //   citycode: "3308",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3308",
  // },
  // {
  //   title: "舟山市",
  //   citycode: "3309",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3309",
  // },
  // {
  //   title: "台州市",
  //   citycode: "3310",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3310",
  // },
  // {
  //   title: "丽水市",
  //   citycode: "3311",
  //   url: window.g.BaseUrlMap + "api/gisrest/arcgis/mapServer/imageMap/aqhc3311",
  // }]
}
// 施工巡查-地图部分配置
window.g.BuildMain = {
  layer: {
    title: '四到场',
    url: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/api/gisrest/arcgis/mapServer/imageMap/四到场' //"https://nfjg.jst.zj.gov.cn/JGHD/api/gisrest/arcgis/mapServer/imageMap/四到场",
  }
}
//房屋检查-地图部分配置
window.g.HouseExamination = {
  layer: {
    title: '房屋检查',
    url: 'https://nfzjszlb.jst.zj.gov.cn/tyzcpt/api/gisrest/arcgis/tilelayer/zjs_zjfcjb',
    linkFeature: [
      { name: '杭州市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3301' },
      { name: '宁波市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3302' },
      { name: '温州市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3303' },
      { name: '嘉兴市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3304' },
      { name: '湖州市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3305' },
      { name: '绍兴市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3306' },
      { name: '金华市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3307' },
      { name: '衢州市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3308' },
      { name: '舟山市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/3309' },
      { name: '台州市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/33010' },
      { name: '丽水市', url: window.g.BaseUrlMap + 'api/gisrest/arcgis/mapServer/imageMap/33011' }
    ]
  }
}

//项目相关配置---农房审批oneMap文件夹下的内容
window.g.Project = {
  topsearchLocationUrl: 'https://nfzjszlb.jst.zj.gov.cn:9601/api/gisrest/arcgis/featurelayer/zjf',
  leftTools: [
    {
      title: '农房审批',
      id: '农房审批',
      img: '1',
      type: 'count',
      checked: false
    },
    {
      title: '农房建设',
      id: '农房建设',
      img: '2',
      type: 'count',
      checked: false
    },
    {
      title: '存量农房',
      id: '存量农房',
      img: '3',
      type: 'count',
      checked: false
    },
    {
      title: '危房改造',
      id: '危房改造',
      img: '4',
      type: 'count',
      checked: false
    }
  ],
  menuData: [
    {
      id: '6317',
      pid: '6302',
      name: '常用工具',
      text: null,
      value: '6317',
      tableguid: null,
      spread: null,
      checked: null,
      children: null,
      list: [
        {
          id: '6319',
          pid: '6317',
          name: 'i查询',
          text: null,
          value: '6319',
          tableguid: null,
          spread: null,
          checked: null,
          children: null,
          list: [],
          extraInfoMap: {
            EXECUTESCRIPT: null,
            LINKEDURL: null,
            LOCKED: 0,
            MENUCODE: 'iQuery',
            DESCRIPTION: null,
            CUSTOMVARIABLE: null,
            MENUICON: 'iQuery',
            MENUID: '6319',
            PARENTMENUID: '6317',
            MENUNAME: 'i查询',
            MENUTYPE: null
          }
        },
        // {
        //     "id": "6320",
        //     "pid": "6317",
        //     "name": "空间查询",
        //     "text": null,
        //     "value": "6320",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [

        //     ],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "spatiaQuery",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "spatialquery",
        //         "MENUID": "6320",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "空间查询",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "6322",
        //     "pid": "6317",
        //     "name": "空间量算",
        //     "text": null,
        //     "value": "6322",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "spatialMeasurement",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "measure",
        //         "MENUID": "6322",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "空间量算",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "6323",
        //     "pid": "6317",
        //     "name": "分屏",
        //     "text": null,
        //     "value": "6323",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "splitScreen",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "splitscreen",
        //         "MENUID": "6323",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "分屏",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "6324",
        //     "pid": "6317",
        //     "name": "图层控制",
        //     "text": null,
        //     "value": "6324",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "layerControl",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "layercontrol",
        //         "MENUID": "6324",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "图层控制",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "6325",
        //     "pid": "6317",
        //     "name": "时间轴",
        //     "text": null,
        //     "value": "6325",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "timerShaft",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "timeline",
        //         "MENUID": "6325",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "时间轴",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "6326",
        //     "pid": "6317",
        //     "name": "打印输出",
        //     "text": null,
        //     "value": "6326",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "printoutPanel",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "printout",
        //         "MENUID": "6326",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "打印输出",
        //         "MENUTYPE": null
        //     }
        // },
        {
          id: '6327',
          pid: '6317',
          name: '删除',
          text: null,
          value: '6327',
          tableguid: null,
          spread: null,
          checked: null,
          children: null,
          list: [],
          extraInfoMap: {
            EXECUTESCRIPT: null,
            LINKEDURL: null,
            LOCKED: 0,
            MENUCODE: '1',
            DESCRIPTION: null,
            CUSTOMVARIABLE: null,
            MENUICON: 'deletefeature',
            MENUID: '6327',
            PARENTMENUID: '6317',
            MENUNAME: '删除',
            MENUTYPE: null
          }
        }
        // {
        //     "id": "6321",
        //     "pid": "6317",
        //     "name": "定位",
        //     "text": null,
        //     "value": "6321",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "placeLocator",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "location",
        //         "MENUID": "6321",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "定位",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "63233",
        //     "pid": "6317",
        //     "name": "标绘",
        //     "text": null,
        //     "value": "6333",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "1",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "deletefeature",
        //         "MENUID": "6333",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "标绘",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "c8e6b5c98605ddf678ee4a98f9f5d696",
        //     "pid": "6317",
        //     "name": "地图渲染",
        //     "text": null,
        //     "value": "c8e6b5c98605ddf678ee4a98f9f5d696",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "customRenderer",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "customRenderer",
        //         "MENUID": "c8e6b5c98605ddf678ee4a98f9f5d696",
        //         "PARENTMENUID": "6317",
        //         "MENUNAME": "地图渲染",
        //         "MENUTYPE": null
        //     }
        // }
      ],
      extraInfoMap: {
        EXECUTESCRIPT: null,
        LINKEDURL: null,
        LOCKED: 0,
        MENUCODE: 'commonTools',
        DESCRIPTION: null,
        CUSTOMVARIABLE: null,
        MENUICON: 'commontool',
        MENUID: '6317',
        PARENTMENUID: '6302',
        MENUNAME: '常用工具',
        MENUTYPE: null
      }
    },
    {
      id: '45e639bfc32a420dbc5f4b8c4ec04af7',
      pid: '6302',
      name: '底部工具',
      text: null,
      value: '45e639bfc32a420dbc5f4b8c4ec04af7',
      tableguid: null,
      spread: null,
      checked: null,
      children: null,
      list: [
        // {
        //     "id": "a5cbb170819b49a3a21e1f740713b567",
        //     "pid": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //     "name": "地图滤镜",
        //     "text": null,
        //     "value": "a5cbb170819b49a3a21e1f740713b567",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [

        //     ],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "MapFilter",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "xzdt1",
        //         "MENUID": "a5cbb170819b49a3a21e1f740713b567",
        //         "PARENTMENUID": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //         "MENUNAME": "地图滤镜",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "182b497cb05b455b9df2ed519ca08ca3",
        //     "pid": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //     "name": "放大",
        //     "text": null,
        //     "value": "182b497cb05b455b9df2ed519ca08ca3",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [

        //     ],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "ZoomIn",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "fangda1",
        //         "MENUID": "182b497cb05b455b9df2ed519ca08ca3",
        //         "PARENTMENUID": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //         "MENUNAME": "放大",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "c00dbde44b5e44b582f23a99a25c032d",
        //     "pid": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //     "name": "缩小",
        //     "text": null,
        //     "value": "c00dbde44b5e44b582f23a99a25c032d",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [

        //     ],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "ZoomOut",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "suoxiao1",
        //         "MENUID": "c00dbde44b5e44b582f23a99a25c032d",
        //         "PARENTMENUID": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //         "MENUNAME": "缩小",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "a11399cf03254bc384cfd5ca90a08aa7",
        //     "pid": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //     "name": "鹰眼",
        //     "text": null,
        //     "value": "a11399cf03254bc384cfd5ca90a08aa7",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [

        //     ],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "EagleEye",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "yingyan1",
        //         "MENUID": "a11399cf03254bc384cfd5ca90a08aa7",
        //         "PARENTMENUID": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //         "MENUNAME": "鹰眼",
        //         "MENUTYPE": null
        //     }
        // },
        // {
        //     "id": "2e2f2c531997429ebe10d142be8fe26f",
        //     "pid": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //     "name": "全图",
        //     "text": null,
        //     "value": "2e2f2c531997429ebe10d142be8fe26f",
        //     "tableguid": null,
        //     "spread": null,
        //     "checked": null,
        //     "children": null,
        //     "list": [

        //     ],
        //     "extraInfoMap": {
        //         "EXECUTESCRIPT": null,
        //         "LINKEDURL": null,
        //         "LOCKED": 0,
        //         "MENUCODE": "FullScreen",
        //         "DESCRIPTION": null,
        //         "CUSTOMVARIABLE": null,
        //         "MENUICON": "quanping1",
        //         "MENUID": "2e2f2c531997429ebe10d142be8fe26f",
        //         "PARENTMENUID": "45e639bfc32a420dbc5f4b8c4ec04af7",
        //         "MENUNAME": "全图",
        //         "MENUTYPE": null
        //     }
        // },
        {
          id: 'a3efc5243cdd4f19aa23684262a7f7dd',
          pid: '45e639bfc32a420dbc5f4b8c4ec04af7',
          name: '切换',
          text: null,
          value: 'a3efc5243cdd4f19aa23684262a7f7dd',
          tableguid: null,
          spread: null,
          checked: null,
          children: null,
          list: [],
          extraInfoMap: {
            EXECUTESCRIPT: null,
            LINKEDURL: null,
            LOCKED: 0,
            MENUCODE: 'MapSwitch',
            DESCRIPTION: null,
            CUSTOMVARIABLE: null,
            MENUICON: 'xzdt1',
            MENUID: 'a3efc5243cdd4f19aa23684262a7f7dd',
            PARENTMENUID: '45e639bfc32a420dbc5f4b8c4ec04af7',
            MENUNAME: '切换',
            MENUTYPE: null
          }
        }
      ],
      extraInfoMap: {
        EXECUTESCRIPT: null,
        LINKEDURL: null,
        LOCKED: 0,
        MENUCODE: 'BottomMenu',
        DESCRIPTION: null,
        CUSTOMVARIABLE: null,
        MENUICON: '-',
        MENUID: '45e639bfc32a420dbc5f4b8c4ec04af7',
        PARENTMENUID: '6302',
        MENUNAME: '底部工具',
        MENUTYPE: null
      }
    }
  ]
}
